Package com.cisco.pt.ipc.sim.impl
Class CDPNeighborTableImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.CDPNeighborTableImpl
- All Implemented Interfaces:
IPCObject,CDPNeighborTable
Information provided by the PKI file:
\class CdpNeighborTable
\brief CdpNeighborTable holds the CDP neighbor tables.
\example network().getDevice("Router0").getProcess("CdpProcess").getNeighborTable()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionCDPNeighborTableImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetCdpNeighborAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
CDPNeighborTableImpl
public CDPNeighborTableImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getNeighborTableCount
public int getNeighborTableCount()Information provided by the PKI file:
\brief Returns the number of neighbor tables. \return int, the number of neighbor tables.- Specified by:
getNeighborTableCountin interfaceCDPNeighborTable- Returns:
- int Returns a int
-
getCdpNeighborAt
Information provided by the PKI file:
\brief Returns a CDP neighbor at the specified index. \param index, the index of the CDP neighbor. \return CdpNeighbor, the CDP neighbor at the specified index.- Specified by:
getCdpNeighborAtin interfaceCDPNeighborTable- Parameters:
index- Takes in a parameter of index- Returns:
- CDPNeighbor Returns a CDPNeighbor
-